﻿#region 信息
// Copyright©2014 Rex Rao all rights reserved.
// File name : Mojito\Mojito.Service\IDishesService.cs
// Author : Sohobloo
// Create time : 2014/08/27 15:34
// Update time : 2014/08/27 15:34
#endregion

using System;
using System.Collections.Generic;
using Mojito.Entity;
using Sohobloo.SoCommon;

namespace Mojito.Service
{
    public interface IDishService
    {
        Dish GetDish(Guid dishId);

        OperationResult AddDish(Guid? categoryId, string dishName, double price, DishTagType dishTag);

        OperationResult UpdateDish(Guid dishId, Guid? categoryId, string dishName, double price, DishTagType dishTag);

        OperationResult DeleteDish(Guid dishId);

        OperationResult SortDish(Guid dishId, Guid? prevDishId);
    }
}